#!/bin/bash

MYPATH=$(dirname $(realpath --relative-to=$PWD $0))

FOLDERS="art bionic build build-image.sh device external frameworks hardware \
        prebuilts system"
SCRIPTS="build-image.sh repo_sync.sh setenv.sh"

for f in $FOLDERS
do
  cp -av $MYPATH/$f .
done

for s in $SCRIPTS
do
  ln -svf $MYPATH/$s .
done
